#include<bits/stdc++.h>
using namespace std;
int main(){
freopen("detect.in","r",stdin);
freopen("detect.out","w",stdout);
int T,n,m,L,V,di,vi,ai;
int p[100000];
cin>>T;
cin>>n>>m>>L>>V;
cin>>di>>vi>>ai;
for(int x=1;x<=m;x++)
    cin>>p[x];
if(T==1){
    cout<<3<<" "<<3;
}
return 0;
}
